//
//  DropDownMenu.h
//  MaiLiAPP
//
//  Created by 麦粒网 on 14-7-9.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DropDownMenu;
@protocol DropDownMenuDelegate
@optional;
- (void) niDropDownDelegateMethod:(DropDownMenu *) sender;

@end

@interface DropDownMenu : UIView<UITableViewDelegate, UITableViewDataSource,UIGestureRecognizerDelegate>

@property (nonatomic, assign) id <DropDownMenuDelegate> delegate;
@property (nonatomic, strong) NSString * selectedTitle;
@property (nonatomic, strong) NSString * keyOfTitle;
@property(nonatomic, assign) NSInteger senderTag;
@property (nonatomic, assign) BOOL isDisplay;
+ (DropDownMenu *)shareDropDownMenu;
- (void) setDropDownMenuParameterWithcellContents:(NSArray *)contentsArray;
- (void) setDropDownMenuParameterWithcellContents:(NSArray *)contentsArray andWidth:(CGFloat)dropViewWithd;
-(void)hideDropDown:(UIView *)b;
- (void)hidden;
@end

